from myelin.Ns import MYELIN, MYELIN_RULES
from myelin.rdf.bindery.ObjectTypes import LiteralTypeO

from Rule import Rule

from ObjectTypes import \
    AclBaseRuleTypeO, AclBaseRuleTypeS

from mappings import \
    BaseMap

class AclBaseRule(Rule):
    
    ModelTypes = (AclBaseRuleTypeO, AclBaseRuleTypeS)
    
    RDF_BINDINGS = {
        'rUpdate_Acls'      : ((MYELIN_RULES,'update-acls'), LiteralTypeO, BaseMap),
    }    


CLASS_TYPES = {
    MYELIN_RULES + 'AclBaseRule' : AclBaseRule,
}